package com.submit.demo.repository;

import com.submit.demo.model.Submitter;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface SubmitterRepository extends MongoRepository<Submitter, String> {
    Submitter findSubmitterByPhone(String phone);

    List<Submitter> findAllById(List<String> ids);
}
